package main.c_DecorateModel;

/**
 * Created by newtranx_011 on 2017/9/22.
 */
public class Finery extends Person {

    protected Person component;

    //装扮
    public void Decorate(Person component){
        this.component = component;
    }

    @Override
    public void show(){
        if ( null != component){
            component.show();
        }
    }


}
